var status = -1;

function start(d, c, b) {
    (d == 1) ? status++ : status--;
    var a = -1;
    qm.forceStartQuest();
    qm.dispose()
}

function end(c, b, a) {
    if (c == 1) {
        status++
    } else {
        status--
    }
    qm.warp(106031002, 0, true);
    qm.forceCompleteQuest();
    qm.gainExp(44000);
    qm.dispose()
};